package com.nbgs.demo.dao;

import com.nbgs.demo.model.Area;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AreaMapper {
    @Select("select area_name from t_area")
    List<String> areaName();
    //通过区域名找到区域num
    @Select("select area_num from t_area where area_name=#{areaName}")
    String findNum(String areaName);
}
